package com.junyi;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @time: 2022/6/17 16:28
 * @version: 1.0
 * @author: junyi Xu
 * @description:
 */
@RestController
@RequestMapping("paper")
@Slf4j
@APIVersion("v1")
public class MyController {

    @GetMapping("test")
    @APIVersion("v2")
    public String test() {
        log.info("test");
        return "success";
    }
}
